package com.yuyou.fn.portal.service;

import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.platform.permission.DataPermission;
import com.yuyou.fn.portal.entity.ShoppingCartDetail;
import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.portal.vo.ShoppingCartDetailQueryVo;
import com.yuyou.fn.portal.vo.ShoppingCartSituationVo;
import org.apache.poi.xssf.streaming.SXSSFWorkbook;

/**
 *
 * ShoppingCartDetail 表数据服务层接口
 *
 */
public interface IShoppingCartDetailService extends ISuperService<ShoppingCartDetail,String> {

    Page<ShoppingCartDetail> findShoppingCartDetailPageByQueryVo(DataPermission dataPermission,ShoppingCartDetailQueryVo shoppingCartDetailQueryVo, int pageNo, int pageSize);

    Page<ShoppingCartSituationVo> findShoppingCartSituation(DataPermission dataPermission,ShoppingCartDetailQueryVo shoppingCartDetailQueryVo,int pageNo,int pageSize);

    SXSSFWorkbook exportShoppingCartSituation(DataPermission dataPermission,ShoppingCartDetailQueryVo shoppingCartDetailQueryVo);
}